.class final Lnet/tsapps/topdeals/views/d;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private synthetic a:Lnet/tsapps/topdeals/views/CommentView;


# direct methods
.method constructor <init>(Lnet/tsapps/topdeals/views/CommentView;)V
    .locals 0

    iput-object p1, p0, Lnet/tsapps/topdeals/views/d;->a:Lnet/tsapps/topdeals/views/CommentView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 2

    iget-object v0, p0, Lnet/tsapps/topdeals/views/d;->a:Lnet/tsapps/topdeals/views/CommentView;

    invoke-static {v0}, Lnet/tsapps/topdeals/views/CommentView;->a(Lnet/tsapps/topdeals/views/CommentView;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnet/tsapps/topdeals/views/d;->a:Lnet/tsapps/topdeals/views/CommentView;

    invoke-static {v0}, Lnet/tsapps/topdeals/views/CommentView;->b(Lnet/tsapps/topdeals/views/CommentView;)Landroid/widget/TextView;

    move-result-object v0

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/views/d;->a:Lnet/tsapps/topdeals/views/CommentView;

    invoke-static {v0}, Lnet/tsapps/topdeals/views/CommentView;->b(Lnet/tsapps/topdeals/views/CommentView;)Landroid/widget/TextView;

    move-result-object v0

    const/high16 v1, -0x100

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lnet/tsapps/topdeals/views/d;->a:Lnet/tsapps/topdeals/views/CommentView;

    invoke-static {v0}, Lnet/tsapps/topdeals/views/CommentView;->b(Lnet/tsapps/topdeals/views/CommentView;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, p0, Lnet/tsapps/topdeals/views/d;->a:Lnet/tsapps/topdeals/views/CommentView;

    invoke-static {v1}, Lnet/tsapps/topdeals/views/CommentView;->c(Lnet/tsapps/topdeals/views/CommentView;)Lnet/tsapps/topdeals/objects/Comment;

    move-result-object v1

    iget-object v1, v1, Lnet/tsapps/topdeals/objects/Comment;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/views/d;->a:Lnet/tsapps/topdeals/views/CommentView;

    invoke-static {v0}, Lnet/tsapps/topdeals/views/CommentView;->d(Lnet/tsapps/topdeals/views/CommentView;)V

    :cond_0
    return-void
.end method
